home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4128 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: sn.no!not-for-mail
  2. From: christon@sn.no (Christopher Naas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Shared library open and close functions
  5. Date: 18 Feb 1996 11:16:27 +0100
  6. Organization: SN Internett
  7. Message-ID: <819.6622T664T185@sn.no>
  8. References: <510.6619T1238T1638@Th0r.foo.bar> <935.6621T819T991@norconnect.no>
  9. NNTP-Posting-Host: sinsen.sn.no
  10. X-Newsreader: THOR 2.21 (Amiga;SOUP)
  11.  
  12. Kenneth C. Nilsen wrote:
  13.  
  14. >>How do I add functions to a shared library that are called the first time
  15. >>the library is opened and when the library is removed from memory? I want
  16. >>one function that is called the first time the library is opened, and one
  17. >>function that is called when the library is closed by the last user and it
  18. >>is flushed from memory.
  19. >1) You have to make the library yourself cause OpenLibrary() calls a init
  20. >when a library is opened for the first time and this can't be added
  21. >inbetween. You can not use exec.library functions for this purpose.
  22. I'm writing the library myself. How do I add these functions using SAS/C?
  23.  
  24.  
  25. --
  26. Christopher Landmark Naas    o  EMail: christon@sn.no
  27. LoungeBar Development        o  WWW:   http://www.sn.no/~christon/
  28. Former Reg. Amiga Developer  o  IRC:   KarmaComa
  29.